/**
 * Copyright © 2020 易久批信息技术有限公司. All rights reserved.
 */
package com.dysm.templatemethod;

/**
 *
 * @author xiay
 * @since 2020/12/15 10:26 下午
 */
public abstract class BankTemplateMethod {

    private void takeNumber() {
        System.out.println("取号排队");
    }

    private void feedback() {
        System.out.println("反馈评价");
    }

    public abstract void transact();

    public void process() {
        takeNumber();
        transact();
        feedback();
    }
}